<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PutPeriod extends Model
{
    protected $table = 'yy_put_periods';
    
    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function school()
    {
        return $this->belongsTo('App\Models\School');
    }

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function coach()
    {
        return $this->belongsTo('App\Models\Coach');
    }

    public function teacharea()
    {
        return $this->belongsTo('App\Models\Teacharea');
    }
}
